/**
 * Created by ChinaHp on 2016/8/11.
 */

import React, {
    Component,
    PropTypes
} from 'react';
import ReactDOM, {
    render
} from 'react-dom';
import {
    Router,
    hashHistory,
    browserHistory
} from 'react-router';

import {
    Provider
} from 'react-redux';

import createStore from './store'

import WxServer from './wx/WxServer'

let store = createStore();

import routes from './Business'; //路由配置
// import './less/bootstrap2.css'
// import './Component/businessCenter/business.scss'
import './less/bootstrap.css'
import './less/common.less'
import './less/deviceList.less'
import './less/example.less'
import './less/index.less'
import './less/swiper.css'
import './less/swiper2.css'
import './less/wx.less'

import './scss/media.px'
import './scss/header.scss'
import './scss/map.scss'
import './scss/news.scss'
import './scss/teacher.scss'


import './plugins/city/css/LArea.css'
import './datetime/date-picker.less'

//引入vconsole调试
//import './js/vconsole.js'

render(
    <Provider store={store}>
        <Router routes={routes} history={hashHistory}/>
    </Provider>, document.getElementById('main')
);
